package com.addict.applocker.Data;

import android.graphics.drawable.Drawable;

public class AppListItem {
//    private int mId;
    private String mAppName;
    private String mAppPackageName;
    private Drawable mAppIcon;
    private boolean mIsStart; // 应用是启动状态还是冻结状态

    public AppListItem(String appName, String appPackageName, Drawable appIcon, boolean isStart) {
        this.mAppName = appName;
        this.mAppPackageName = appPackageName;
        this.mAppIcon = appIcon;
        this.mIsStart = isStart;
    }
    public AppListItem(String appName, String appPackageName, Drawable appIcon) {
        this(appName, appPackageName, appIcon, false);
    }

    // get and set
/*    public int getId() { return mId; }

    public void setId(int id) { this.mId = id; }
*/
    public Drawable getAppIcon() {
        return mAppIcon;
    }

    public void setAppIcon(Drawable mAppIcon) {
        this.mAppIcon = mAppIcon;
    }

    public String getAppName() {
        return mAppName;
    }

    public void setAppName(String mAppName) {
        this.mAppName = mAppName;
    }

    public String getAppPackageName() {
        return mAppPackageName;
    }

    public void setAppPackageName(String mAppPackageName) {
        this.mAppPackageName = mAppPackageName;
    }

    public boolean isStart() {
        return mIsStart;
    }

    public void setStart(boolean mIsStart) {
        this.mIsStart = mIsStart;
    }
}
